﻿using Fozzy;
using Fozzy.Family;
using Microsoft.FamilyShowLib;
using System.Collections.Generic;

namespace Microsoft.FamilyShow
{
    class Xps                                                           : SaveAs
    {
        #region Declarations
        #endregion

        #region Properties
            protected override Resource     Resource                    { get { return Module.Resources.Instance("DefaultXpsExtension")     ; } }
        #endregion

        #region Constructeur
            public Xps(System.Type type, Directory dir)                 : base(type, dir) //: base("Xps")
            {}
        #endregion

            //public static readonly RoutedCommand ExportXpsCommand       = new RoutedCommand("ExportXps", typeof(MainWindow))    ;

            protected override void Prepare()
            {
                base.Prepare()                                          ;
                //base.Add_Filters();                   : Attention pas de Base.Add ...
                //dialog.Filter.Add(new FilterEntry(Properties.Resources.XpsFiles, Properties.Resources.XpsExtension));
                //dialog.Filter.Add(new FilterEntry(Properties.Resources.AllFiles, Properties.Resources.AllExtension));
                Add(new Xpss())                                         ;
                Add(new All())                                          ;
            }

    }

}
